export const stateMap = [{
		key: '00',
		value: "全部"
	}, {
		key: '01',
		value: "待总会反馈"
	},
	{
		key: '02',
		value: "待用户反馈"
	},
	{
		key: '98',
		value: "用户关闭"
	},
	{
		key: '99',
		value: "服务完结"
	}
];

export const workOrderTypeMap = [{
		key: "01",
		value: '资讯',
	},
	{
		key: "02",
		value: '建议',
	},
	{
		key: "03",
		value: '投诉',
	}
];
export const findKey = (arrName,value) => {
	let values = arrName.filter(item => {
		return item.value === value;
	})
	return values;
}
export const findValue = (arrName,key) => {
	let keys = arrName.filter(item => {
		return item.key === key;
	})
	return keys[0].value;
}